import { defineComponent } from 'vue'
import { Layout } from 'ant-design-vue'
import { RouterView } from 'vue-router'
import LayoutHeader from  '@/views/layouts/header/index'
import LayoutFooter from  '@/views/layouts/footer/index'
import '@/views/index.scss'

const { Content } = Layout

export default defineComponent({
  name: 'Home',
  setup() {
    return () => (
      <Layout class='layout'>
        <LayoutHeader/>
        <Content class='layout-content'>
          <RouterView/>
        </Content>
        <LayoutFooter/>
      </Layout>
    )
  }
})
